kfraser@localhost.localdomain [Fri, 24 Nov 2006 14:37:45 +0000 (14:37 +0000)]
[HVM] Unaligned write to a PTE is a good indication the
page is no longer a page table.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Fri, 24 Nov 2006 14:05:59 +0000 (14:05 +0000)]
Fix vncdisplay handling.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tim Deegan [Fri, 24 Nov 2006 09:42:40 +0000 (09:42 +0000)]
[HVM] Fix hvm_copy_[to|from]_guest_virt
which would fail if it crossed a page boundary where the guest physical
pages were not contiguous.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Thu, 23 Nov 2006 18:01:40 +0000 (18:01 +0000)]
[VMX] Make sure that the WP bit is always set in CR0 when running SVM guests.
This is the VMX equivalent of cset 12525:
4ddda0bbb57c.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Thu, 23 Nov 2006 17:54:06 +0000 (17:54 +0000)]
Merge
Tim Deegan [Thu, 23 Nov 2006 17:46:52 +0000 (17:46 +0000)]
[XEN] Pin l3 shadows of older x86_64 linux guests.
Older x86_64 linux kernels use one l4 table per cpu and context switch by
changing an l4 entry pointing to an l3 table. If we're shadowing them
we need to pin l3 shadows to stop them being torn down on every
context switch. (But don't do this for normal 64bit guests).
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Thu, 23 Nov 2006 17:44:12 +0000 (17:44 +0000)]
[XEN] Don't call domain_crash_synchronous() with shadow lock held.
Call domain_crash() and propagate an error to the caller instead.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Thu, 23 Nov 2006 17:42:29 +0000 (17:42 +0000)]
[XEN] Simplify the shadow hash table.
Chain hash buckets through the shadow page_info structs instead
of in separately allocated structures. This lets us get rid of
some xenheap allocations and a domain_crash_synchronous() call.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Thu, 23 Nov 2006 17:40:28 +0000 (17:40 +0000)]
[XEN] Use a separate struct shadow_page_info for shadow pages
and move the definitions of shadow types etc out of public headers.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Thu, 23 Nov 2006 17:37:23 +0000 (17:37 +0000)]
[XEN] Small ioemul cleanup.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 23 Nov 2006 17:32:18 +0000 (17:32 +0000)]
[XEN] Extend emulator to fully decode ModRM and SIB bytes.
Use this to detect data accesses that straddle a page boundary
and fault on the second page. We cannot handle these properly.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ian Campbell [Thu, 23 Nov 2006 17:21:26 +0000 (17:21 +0000)]
[XEN] Avoid using regparm on a typedef.
This does not work reliably across gcc versions. Workaround this by attaching
the regparm attribute to a variable instead.
Also since guest_to_host_gpr_switch() updates the guest EAX on the stack there
is no need to do so in emulate_privileged_op() as well. Therefore io_emul stub
now returns void.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Ian Campbell [Thu, 23 Nov 2006 15:06:35 +0000 (15:06 +0000)]
[BLKFRONT] Only attempt to recover a device on resume if it was connected when
we suspended.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Steven Smith [Thu, 23 Nov 2006 09:36:48 +0000 (09:36 +0000)]
[SVM] Make sure that the WP bit is always set in CR0 when running SVM guests.
This is necessary to be sure that the shadow mode code can always detect
writes to guest page tables.
This should fix Windows restore from hibernation on SVM platforms.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 18:36:48 +0000 (18:36 +0000)]
[HVM] Update ACPI tables to reflect new PIRQ routing:
1. Override ISA IRQs 5,6,10,11 as active-low level-triggered.
These are 'wired' to PCI devices.
2. Limit PCI-ISA link routers to route to 5,6,10,11. Others
are active-high edge-triggered and so invalid to use for
PCI devices. In any case, four ISA IRQs is sufficient to
avoid unnecessary aliasing among four links.
Also remove PCI device 0 IRQ info. It's an embedded host bridge with
no interrupt sources.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 17:50:20 +0000 (17:50 +0000)]
[HVM] Move PCI and PCI-ISA bridge setup to hvmloader.
Signed-off-by: Keir Fraser <keir@xensource.com>
PeterJohnston [Wed, 22 Nov 2006 16:52:48 +0000 (09:52 -0700)]
[QEMU] Add TCP_NODELAY to tcp connections exporting serial ports.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Brendan Cully [Wed, 22 Nov 2006 02:09:23 +0000 (18:09 -0800)]
Add -p/--paused flag to xm restore.
When --paused is specified, the domain is paused after it is loaded.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
jfehlig@jfehlig2.provo.novell.com [Fri, 17 Nov 2006 23:21:14 +0000 (16:21 -0700)]
The legacy apis return a value of None on success, which was being converted to a value of 'nil' in the xmlrpc response.
The Xen IPI spec states that destroy, hard_shutdown, pause, resume, start, suspend, and unpause return void. This patch makes it so and permits proper parsing of the response by clients (libxen) that follow the spec.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Ewan Mellor [Wed, 22 Nov 2006 14:01:51 +0000 (14:01 +0000)]
Stop the kernel and ramdisk from being nuked if the kernel_external bootloader
setting is being used.
From Jim Fehlig <jfehlig@novell.com>.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 13:27:52 +0000 (13:27 +0000)]
[XEN] Fix the build.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 11:52:46 +0000 (11:52 +0000)]
[HVM] Set VIOAPIC ID to a value that does not conflict with LAPIC IDs.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 10:31:50 +0000 (10:31 +0000)]
[HVM] Fix instruction linear address computation.
This helps newer isolinux' graphical boot code (which crashes without
this).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 10:30:05 +0000 (10:30 +0000)]
[TOOLS] Check for python-devel.
Thanks to Ewan Mellor, Anthony Liguori, and Daniel P. Berrange for
pointing out problems with and solutions for the problems with the
first version.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 10:25:21 +0000 (10:25 +0000)]
[IA64] Change callback_irq spec of PV-on-HVM for IPF
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 10:23:14 +0000 (10:23 +0000)]
[LINUX] Make xen /dev/mem aware of IA64 to use X.
The original /dev/mem (linux/drivers/char/mem.c) is aware of IA64
specific issues. On the other hand paravirtualized /dev/mem
(linux-2.6-xen-sparse/drivers/xen/char/mem.c) is simplifed not to be
aware of IA64. This patch makes it IA64-aware to use X on domain0/IA64.
With this patch and ia64-specific patches, X server can boot on domain0/IA64.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 10:11:36 +0000 (10:11 +0000)]
[MINIOS] Refactored mm.c and sched.c. x86 arch specific code got moved to
arch/x86/mm.c and arch/x86/sched.c. Header files were also refactored:
arch specific code got moved to include/x86/arch_mm.h and
include/x86/sched_mm.h.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 10:10:29 +0000 (10:10 +0000)]
[POWERPC][LIBFS] Fix build breakage in log2 assembly.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 10:09:28 +0000 (10:09 +0000)]
[XENOPROFILE] Make xenoprof arch-generic with dynamic mapping/unmapping xenoprof
buffer support and auto translated mode support.
renamed xenoprof_get_buffer::buf_maddr, xenoprof_passive::buf_maddr to
xenoprof_get_buffer::buf_gmaddr, xenoprof_passive::buf_gmaddr
to support auto translated mode. With auto translated mode enabled,
it is gmaddr, not maddr.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Simplify the share function.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 09:51:20 +0000 (09:51 +0000)]
[XENOPROFILE] Update xenoprof linux side patch following Renato's comment.
- compilation fix when CONFIG_OPROFILE=m with minor clean up
- don't export xenoprof_is_primary.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 09:50:37 +0000 (09:50 +0000)]
[XENOPROF] Make xenoprof of linux side arch generic with some bug fixes.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 09:49:55 +0000 (09:49 +0000)]
[XENOPROFILE] Split linux-2.6-xen-sparse/arch/i386/oprofile/xenoprof.c into
linux-2.6-xen-sparse/drivers/xen/xenoprof/xenoprofile.c
without code changes except slight adjustment to compile.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 09:48:42 +0000 (09:48 +0000)]
[XENOPROFILE] Replace x86 specific code in xen/common/xenoprof.c
- replace nmi_ prefix with xenoprof_arch_ prefix
- move config_counter to xen/arch/x86/oprofile/xenoprof.c
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
kfraser@localhost.localdomain [Wed, 22 Nov 2006 09:35:50 +0000 (09:35 +0000)]
[XENOPROFILE] Move code under xen/arch/x86/oprofile to xen/common.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
kfraser@localhost.localdomain [Tue, 21 Nov 2006 19:22:25 +0000 (19:22 +0000)]
[HVM] Reworked interrupt distribution logic.
TODO:
1. Fix IO-APIC ID to not conflict with LAPIC IDS.
2. Fix i8259 device model (seems to work already though!).
3. Add INTSRC overrides in MPBIOS and ACPI tables so
that PCI legacy IRQ routing always ends up at an
IO-APIC input with level trigger. Restricting link
routing to {5,6,10,11} and setting overrides for all
four of those would work.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Tue, 21 Nov 2006 17:34:17 +0000 (17:34 +0000)]
The legacy HTTP entry point for Xend remote access didn't hook the
dump operation for a domain, this patch adds it.
Signed-off-by: Daniel Veillard <veillard@redhat.com>
kfraser@localhost.localdomain [Tue, 21 Nov 2006 16:14:53 +0000 (16:14 +0000)]
[XEN] Fix potential crash in grant-table code if
guest misbehaves and implicitly unmaps a PTE.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Tue, 21 Nov 2006 15:03:09 +0000 (15:03 +0000)]
Fix iptable handling when multiple addresses have been specified.
From Adrian Chadd <adrian@creative.net.au>.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 21 Nov 2006 11:21:20 +0000 (11:21 +0000)]
Added an xm console -q flag.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 21 Nov 2006 10:22:19 +0000 (10:22 +0000)]
This is a refactored version of a previous patch that destroys external
devices' state when a VM configuration file is destroyed. Currently only
the vTPM device's state needs to be explicitly destroyed.
I am also surrounding the saving of the managed domain's configuration
with a try-catch.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Ewan Mellor [Tue, 21 Nov 2006 10:21:00 +0000 (10:21 +0000)]
A small fix to the documentation to reflect recent changes to the
'cfgbootpolicy' command.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Ewan Mellor [Tue, 21 Nov 2006 10:19:01 +0000 (10:19 +0000)]
There is a somewhat trivial issue with XendCheckpoint.py right now in
that it logs everything written to stderr by xc_save and xc_restore as
errors whereas in fact the vast majority of this output is
information/debug (and all actual errors are marked by the string ERROR:
at the start of the message) -- this is confusing to folks looking at
the logs and makes automated log analysis tricky.
Fix is to scan for the ERROR: string and log anything without it using
log.info instead.
Signed-off by: Simon Graham <Simon.Graham@stratus.com>
kfraser@localhost.localdomain [Tue, 21 Nov 2006 10:16:58 +0000 (10:16 +0000)]
[BLK] Handle block devices with more than 2^32 sectors.
Signed-off-by: Keir Fraser <keir@xensource.com>
kasai.takanori@jp.fujitsu.com [Tue, 21 Nov 2006 09:26:43 +0000 (09:26 +0000)]
Add example of keyboard layout
Signed-off-by: Takanori Kasai <Kasai.Takanori@jp.fujitsu.com>
Ewan Mellor [Mon, 20 Nov 2006 16:59:07 +0000 (16:59 +0000)]
Cleanup after the bootloader even if the domain building fails.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tim Deegan [Mon, 20 Nov 2006 15:30:52 +0000 (15:30 +0000)]
[XEN] Update shadow audit code.
Make the flag checks line up with the current flag propagation strategy.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Mon, 20 Nov 2006 12:05:25 +0000 (12:05 +0000)]
Merge
Tim Deegan [Mon, 20 Nov 2006 12:03:51 +0000 (12:03 +0000)]
[XEN] Remove write access to new PT before discarding old shadow.
This allows us to use the old pagetables's linear maps in our
remove-writeable-mappings heuristics, fixing the same crash that
cset 12339 did, but still letting us do fast revoke of writeable
mappings of toplevel pagetables.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Mon, 20 Nov 2006 10:33:35 +0000 (10:33 +0000)]
[MINIOS] Delay enabling event delivery at start of day.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
Jake Wires [Fri, 17 Nov 2006 02:47:28 +0000 (18:47 -0800)]
[BLKTAP] fix race between ufe_ring and blk_ring in blktap.c
Signed-off-by: Jake Wires <jwires@xensource.com>
Alastair Tse [Fri, 17 Nov 2006 17:57:49 +0000 (17:57 +0000)]
[XEND] Accomodate extra "devices" in SXP that do not have DevControllers
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Fri, 17 Nov 2006 17:03:59 +0000 (17:03 +0000)]
[XEND] Revert changes in changeset 12328
Mistakenly reverted some fixes for rebooting, un-reverting.
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Fri, 17 Nov 2006 15:53:29 +0000 (15:53 +0000)]
[XEND] Fix missing domains on domU reboot.
Fixed regression with rebooting domU caused by the change in handling
syncing state from Xen and Xend.
Added missing implementation for XendDomainInfo.unwatchVm() which
disappeared during a merge.
Added protection for console/vnc-port reading for managed domains.
Signed-off-by: Alastair Tse <atse@xensource.com>
kfraser@localhost.localdomain [Fri, 17 Nov 2006 14:00:45 +0000 (14:00 +0000)]
[LIBXC] Replace API uses of size_t with ulong.
Avoids possibility of different FILE_OFFSET_BITS defn.
across the interface.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 17 Nov 2006 12:13:24 +0000 (12:13 +0000)]
[XEN] Fix build. Mercurial ate my changeset fixups. :-(
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 17 Nov 2006 10:48:34 +0000 (10:48 +0000)]
[XEN] Restrict access to grant-mapping operations.
TLB flushing is not done strictly before notifying
the mappee -- this creates scope for multi-processor
mapping guests to attempt to abuse a stale mapping
on another VCPU.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kfraser@localhost.localdomain [Fri, 17 Nov 2006 10:34:08 +0000 (10:34 +0000)]
[QEMU] rtl8139: Disallow chaining above 64K
As it stands the 8139C+ TX chaining is only bounded by realloc failure.
This is contrary to how the real hardware operates. It also has DoS
potential when ioemu runs in dom0.
This patch makes any attempt to chain a frame beyond 64K fail
immediately.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kfraser@localhost.localdomain [Fri, 17 Nov 2006 10:32:57 +0000 (10:32 +0000)]
[LINUX] Add process profiling hook to timer ISR.
Signed-off-by: Rik van Riel <riel@redhat.com>
kfraser@localhost.localdomain [Fri, 17 Nov 2006 10:29:08 +0000 (10:29 +0000)]
HVM cleanups:
1) make vmx/svm time functions hvm common, since they are actually the same.
2) move hvm_send_assist_req from platform.c to hvm.c.
2) rename VMX MSR context switch functions to make them more readable.
3) misc coding style clean ups.
Signed-off-by: Xin Li <xin.b.li@intel.com>
kfraser@localhost.localdomain [Fri, 17 Nov 2006 10:24:22 +0000 (10:24 +0000)]
[HVMLOADER][VTPM] Add support for a TCG ACPI table.
The ACPI table is generated if the probing for the TIS interface
succeeds. I cleaned up the ACPI signatures in acpi2_0.h to be more
readable.
The specification for the layout of these ACPI tables can be found here:
https://www.trustedcomputinggroup.org/groups/server/TCG_ACPIGeneralSpecification_1-00_1-00_FINAL.pdf
Extensions to the Bochs BIOS that use these ACPI extensions will follow.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Fri, 17 Nov 2006 10:05:12 +0000 (10:05 +0000)]
[OPROFILE] Add support for core and core2 chips.
Tested on Woodcrest processors. Requires Oprofile 0.9.2.
Signed-off-by: Andrew Theurer <habanero@us.ibm.com>
kfraser@localhost.localdomain [Fri, 17 Nov 2006 10:02:54 +0000 (10:02 +0000)]
[HVMLOADEr] Reserve MMIO 0xa0000 to 0xc0000 in ACPI dsdt.
Avoids possible vga driver loading problem in HVM Windows guest.
Also fixes a Makefile bug in hvmloader directory.
Signed-off-by: Qing He <qing.he@intel.com>
kfraser@localhost.localdomain [Fri, 17 Nov 2006 09:54:48 +0000 (09:54 +0000)]
[TOOLS] Provide common LFS CFLAGS/LDFLAGS additions in Rules.mk.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 17 Nov 2006 09:18:28 +0000 (09:18 +0000)]
[MINIOS] Refactor spinlock header for multi-arch support.
I separated the spinlock parts special to the x86 architecture and
moved these to include/x86/arch_spinlock.h. The common code is now in
include/spinlock.h.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
kfraser@localhost.localdomain [Fri, 17 Nov 2006 09:16:51 +0000 (09:16 +0000)]
[MINIOS] Event channel hypercall update for 64-bit guests.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Fri, 17 Nov 2006 09:16:27 +0000 (09:16 +0000)]
[MINIOS] Move initialisation of events (masking event channels)
earlier during the boot process. Otherwise 64bit guests would
sometimes crash.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Thu, 16 Nov 2006 18:29:06 +0000 (18:29 +0000)]
[XEN] Add missing #include.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 16 Nov 2006 18:28:05 +0000 (18:28 +0000)]
[XEN] Scheduling hypercalls defer entry to the scheduler to softirq
context.
This avoids entering the scheduler with outstanding multicall state
and also happens to simplify the x86 entry protocol to the scheduler
hypercall (since we do not need to preset the return code).
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Thu, 16 Nov 2006 17:07:23 +0000 (17:07 +0000)]
[HVM] Decouple the RTC from the PIT periodic timer
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Thu, 16 Nov 2006 15:20:05 +0000 (15:20 +0000)]
[XEN] Remove redundant calls to check_for_early_unshadow()
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Alastair Tse [Thu, 16 Nov 2006 13:49:05 +0000 (13:49 +0000)]
[XEND] Fix PCI configuration parsing and SXP output
PCI configuration is formatted differently from other device
configurations because of the requirement that all pci devices need to
be present when it is initialised.
Signed-off-by: Alastair Tse <atse@xensource.com>
kasai.takanori@jp.fujitsu.com [Thu, 16 Nov 2006 13:13:55 +0000 (13:13 +0000)]
Add to select keyboard layout
Signed-off-by: Takanori Kasai <Kasai.Takanori@jp.fujitsu.com>
Ewan Mellor [Thu, 16 Nov 2006 11:11:17 +0000 (11:11 +0000)]
Fix clobbering bug when hde is specified; QEMU only supports up to hdd, but
hde is accepted and writes off the end of some tables.
From Hiromichi Itou <ito@begi.net>.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Thu, 16 Nov 2006 10:52:03 +0000 (10:52 +0000)]
[HVM] Disallow PTE updates and MMIO accesses from hypervisor mode
(prevents copy_to/from_guest from causing problems, for example).
Signed-off-by: Keir Fraser <keir@xensource.com>
kasai.takanori@jp.fujitsu.com [Thu, 16 Nov 2006 10:50:21 +0000 (10:50 +0000)]
Fix of floppy disk configuration check
Signed-off-by: Takanori Kasai <Kasai.Takanori@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Ewan Mellor [Thu, 16 Nov 2006 10:44:23 +0000 (10:44 +0000)]
This patch improves an usage message about xm dump-core command.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Ewan Mellor [Thu, 16 Nov 2006 10:28:26 +0000 (10:28 +0000)]
Fix cpu_cap option.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Ewan Mellor [Thu, 16 Nov 2006 10:26:20 +0000 (10:26 +0000)]
Improve error message when trying to pause / unpause domain 0.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Ewan Mellor [Thu, 16 Nov 2006 10:25:23 +0000 (10:25 +0000)]
Fix xm migrate error message when trying to migrate domain 0.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Nov 2006 08:56:58 +0000 (08:56 +0000)]
[NET] back: Fix bug in 12262:
ac2097d71e06dbbf77279af10d6ae7359d921ab0.
Pointed out by Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Nov 2006 07:48:37 +0000 (07:48 +0000)]
[IA64] Fix build breakage.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Nov 2006 07:41:01 +0000 (07:41 +0000)]
Xen trivial build fix. Oops.
Signed-off-by: Keir Fraser <keir@xensource.com>
Andrew Warfield [Wed, 15 Nov 2006 20:50:17 +0000 (12:50 -0800)]
[BLKTAP] Little error handling fix to blktapctrl.c.
Signed-off-by: Andrew Warfield <andy@xensource.com>
kfraser@localhost.localdomain [Wed, 15 Nov 2006 18:41:06 +0000 (18:41 +0000)]
[XEN] Various selector and callback cleanups to simplify the tools
and assumptions about callback selector values on x86/32.
Original patch from Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 15 Nov 2006 16:53:43 +0000 (16:53 +0000)]
[BUILDER] Simplify vcpu context initialisation by pre-zeroing
the context structure.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Wed, 15 Nov 2006 16:44:35 +0000 (16:44 +0000)]
[XEN] Define remaining x86 public pointer fields as guest handles.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 15 Nov 2006 14:59:57 +0000 (14:59 +0000)]
[TOOLS] Rename chekc_hotplug to check_udev and fix permissions.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Wed, 15 Nov 2006 14:36:10 +0000 (14:36 +0000)]
[XEN] Track high-water-mark of p2m map
and so avoid some unnecessary __copy_from_user faults.
Also tidy the p2m functions generally.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Ewan Mellor [Wed, 15 Nov 2006 09:44:12 +0000 (09:44 +0000)]
Add the VNC port to the output of xm list --long, if the value has been written
to xenstore by QEMU.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Wed, 15 Nov 2006 09:33:01 +0000 (09:33 +0000)]
[MINIOS] Add timer support.
Based on an original patch by Robert Kaiser.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Wed, 15 Nov 2006 09:30:44 +0000 (09:30 +0000)]
[LIBXC] Clarify error messages to talk about allocation 'extents'
rather than 'pages'.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Steven Smith [Wed, 15 Nov 2006 08:54:16 +0000 (08:54 +0000)]
[PV-ON-HVM] Correct some out of date documentation.
Noticed-by: Nowatzki, Thomas L <Thomas.Nowatzki@UNISYS.com>
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
kaf24@localhost.localdomain [Wed, 15 Nov 2006 00:14:41 +0000 (00:14 +0000)]
merge with xen-ia64-unstable.hg
awilliam@xenbuild.aw [Tue, 14 Nov 2006 21:59:37 +0000 (14:59 -0700)]
merge with xen-unstable.hg
awilliam@xenbuild.aw [Tue, 14 Nov 2006 19:46:33 +0000 (12:46 -0700)]
[IA64] remove ASSERT in vmx_init.c
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
awilliam@xenbuild.aw [Tue, 14 Nov 2006 19:45:15 +0000 (12:45 -0700)]
[IA64] Add CCISS driver to build config and change nbd to a module
LVM complains a lot when nbd is built into the kernel
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Andrew Warfield [Tue, 14 Nov 2006 19:20:45 +0000 (11:20 -0800)]
Fix breakage of blktap device strings from cset
63d1b02dad347e8feb845d8a8b482e251a478164.
Signed-off-by: Andrew Warfield <andy@xensource.com>
Ewan Mellor [Tue, 14 Nov 2006 18:52:58 +0000 (18:52 +0000)]
Fix xm block-configure, by allowing the device ID to be unspecified inside
device_configure (in which case it will be specified by the incoming config).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tim Deegan [Tue, 14 Nov 2006 18:21:51 +0000 (18:21 +0000)]
Speed up shadow of x86_64 Linux guests using 3 paging levels.
Linux kernel 2.6.9 or older uses 3 paging levels and its direct map is
from 0x10000000000.
Signed-off-by: Xin Li <xin.b.li@intel.com>
Tim Deegan [Tue, 14 Nov 2006 17:11:45 +0000 (17:11 +0000)]
[XEN] Extend fix from 12403:
680b37789200 to other emulation paths.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>